package com.simplecontact.classes;

import android.net.Uri;
import android.provider.BaseColumns;

public class Groups {

	public static final String AUTHORITY = "com.simplecontact.databases.provider.Groups";
	public static final String GROUP_TABLE_NAME = "GROUPS";
	
	private Groups(){}
	/**
     * Groups table
     */
    public static final class GroupColumns implements BaseColumns {
        // This class cannot be instantiated
    	private GroupColumns() {}
    	
    	/**
         * The content:// style URL for this table
         */
        public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/groups");
        
        /**
         * The MIME type of {@link #CONTENT_URI} providing a directory of group.
         */
        public static final String CONTENT_TYPE = "vnd.simplecontact.cursor.dir/vnd.simplecontact.groups";

        /**
         * The MIME type of a {@link #CONTENT_URI} sub-directory of a single group.
         */
        public static final String CONTENT_ITEM_TYPE = "vnd.simplecontact.cursor.item/vnd.simplecontact.groups";
        
        /**
         * The default sort order for this table
         */
        public static final String DEFAULT_SORT_ORDER = "_ID DESC";
                
        /**
         * The groupname of group
         * <P>Type: STRING</P>
         */
        public static final String GROUPNAME = "GROUPNAME";
                              
    }
}
